'''用于存放接口参数或者读取参数文件'''

#1.登录接口
cms_login_url='http://192.168.1.188:8081/cms/manage/loginJump.do'
cms_login_data={
    "userAccount":"admin",
    "loginPwd":"123456"
}
cms_login_headers={ "Content-Type" : "application/x-www-form-urlencoded"}
#2.用户查询接口
cms_login_url1='http://192.168.1.188:8081/cms/manage/queryUserList.do'
cms_login_data1={
    "startCerateDate":"",
    "endCreateDate":"",
    "searchValue":"",
    "page":1
}
cms_login_headers1={ "Content-Type" : "application/x-www-form-urlencoded"}

#3.用户添加
cms_login_url2 = 'http://192.168.1.188:8081/cms/manage/queryUserList.do'
cms_login_data2 = {
    "startCreateDate": "",
    "endCreateDate": "",
    "searchValue": "",
    "page": 1
}
cms_login_headers2 = {"Content-Type": "application/x-www-form-urlencoded"}
#4.保存用户信息
cms_login_url3 = 'http://192.168.1.188:8081/cms/manage/saveSysUser.do'
cms_login_data3 = {
    "userName": "AAA",
    "userSex": 1,
    "userMobile": "15062238663",
    "userEmail": "1172650409 @ qq.com",
    "userAccount": "admin1",
    "loginPwd": 123456,
    "confirmPwd": 123456
}
cms_login_headers3={"Content-Type":"application/x-www-form-urlencoded"}
#5.查询用户
cms_login_url5 = 'http://192.168.1.188:8081/cms/manage/queryUserList.do'
cms_login_data5 = {
    "startCreateDate": "",
    "endCreateDate": "",
    "searchValue": "AAA",
    "page": 1
}
cms_login_headers5={"Content-Type":"application/x-www-form-urlencoded"}
#6.修改密码

cms_login_url6 = 'http://192.168.1.188:8081/cms/manage/updateLoginPwd.do'
cms_login_data6 = {
    "id": 3,
    "loginPwd": 456123,
    "loginPwd2": 456123
}
cms_login_headers6={"Content-Type":"application/x-www-form-urlencoded"}
#7.保存栏目
cms_login_url7 = 'http://192.168.1.188:8081/cms/manage/saveModuleCategory.do'
cms_login_data7 = {
    "categoryName": "ZZ",
    "parentId": "",
    "parentId": "",
    "categoryCode": "ZZ",
    "categoryDesc": "",
    "keyTitle": "",
    "keyWords": "",
    "keyDesc": ""
}
cms_login_headers7={"Content-Type":"application/x-www-form-urlencoded"}
#8.保存资讯成功
cms_login_url8 = 'http://192.168.1.188:8081/cms/manage/saveArticle.do'
cms_login_data8 = {
    "articleExt.id": "",
    "categoryId": 4,
    "articleTitle": "qq",
    "articleDesc": "qq",
    "articleIsShow": 1,
    "articleExt.articleContent": "< p > qqqqqq < / p >",
    "articleAuthor": "迪迦",
    "articleSource": "奥特星",
    "editorValue": "< p > qqqqqq < / p >"
}
cms_login_headers8={"Content-Type":"application/x-www-form-urlencoded"}













